package com.zyf.recruit.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zyf.recruit.pojo.Enterprise;
import com.zyf.recruit.pojo.Recruit;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface RecruitDao extends BaseMapper<Recruit> {
    List<Enterprise> findTopNByStateOrderByCreateTimeDesc(Map map);
}
